package com.shycloud.mido.member.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.member.api.entity.MemberMoneyLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 会员充值记录Mapper
 * @author yyy
 */
public interface MemberMoneyLogMapper  extends BaseMapper<MemberMoneyLog> {

	/**
	 * 会员充值记录
	 * @param page    页码
	 * @param memberId 会员主键
	 * @return
	 */
	List<MemberMoneyLog> moneyLog(Page page, @Param("memberId") String memberId);

	IPage<MemberMoneyLog> getPayHistoryList(Page page, @Param("phone") String phone, @Param("payMethod") String payMethod);
		
	String moneyTotal();

	String memberTotal();

	String depositOrderTotal();
}